-
Notifications
You must be signed in to change notification settings - Fork 215
Feat/state changes #6565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/state changes #6565
Conversation
…t-client-support Merge rc/v1.7.0 in feat/light client support
…llector # Conflicts: # epochStart/metachain/systemSCs_test.go # factory/api/apiResolverFactory.go # factory/processing/blockProcessorCreator_test.go # factory/state/stateComponents.go # genesis/process/memoryComponents.go # integrationTests/state/stateTrie/stateTrie_test.go # integrationTests/testInitializer.go # process/transaction/metaProcess.go # state/accountsDB.go # state/accountsDB_test.go # state/errors.go # state/factory/accountsAdapterAPICreator_test.go # state/interface.go # state/storagePruningManager/storagePruningManager_test.go # state/trackableDataTrie/trackableDataTrie.go # state/trackableDataTrie/trackableDataTrie_test.go # testscommon/integrationtests/factory.go # testscommon/state/accountsAdapterStub.go # update/genesis/import.go
…n-feat/light-client-support
…-client-support Merge rc/1.7.0 in feat/light client support
# Conflicts: # cmd/node/config/config.toml # state/accountsDB_test.go # state/errors.go # state/interface.go # state/trackableDataTrie/trackableDataTrie.go
export original key and val in dataTrieChanges
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
Co-authored-by: Copilot <[email protected]>
fix dataTrieChanges delete
…c/barnard-patch-3-in-feat/state-changes-8oct
…feat/state-changes-8oct Merge rc/barnard patch 3 in feat/state changes 8oct
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
add StateAccessesCollector to testFullNode
7d08af0
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
|
❌ Integration Tests completed with failures or errors. 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
|
✅ Integration Tests passed successfully! 📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
Reasoning behind the pull request
Proposed changes
StateAccessesCollectorinterface and implementations for collecting state accesses during transaction processing--state-accesses-types-to-collectflag to enable collecting specified state accesses types. Can be (READ, WRITE). This can also be set in the config.If
SaveToStorageis set to true, the state changes will be saved in a db.If
WithAccountChangesis set to true, the collected state accesses will also collect what fields changed in the accountmap[string]*stateChange.StateAccesses, where string represents the txHash and*stateChange.StateAccessesis defined asTesting procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
featbranch created?featbranch merging, do all satellite projects have a proper tag insidego.mod?